package com.netease.b.b.b;

import com.netease.b.b.e.f;
import com.netease.g.b;
import org.json.JSONException;
import org.json.JSONObject;

public class a extends com.netease.b.b.e.a
{
  public static final String a = "bHBJAaRTZ6KUMxjWdgKh";
  public static final String b = com.netease.c.b.a.a("n-%C%uUyYXZ!AE^I68X)vi*mf72gkYmT#xpYTJlm");
  private static final String d = "http://api.t.sohu.com";
  private static a e;

  public a()
  {
    super("bHBJAaRTZ6KUMxjWdgKh", b);
  }

  public static a a()
  {
    if (e == null)
      e = new a();
    return e;
  }

  public int a(com.netease.b.b.e.d paramd)
  {
    b("bHBJAaRTZ6KUMxjWdgKh", b);
    return a(new d(), paramd);
  }

  public int a(String paramString1, String paramString2, String paramString3, com.netease.b.b.e.d paramd)
  {
    return a(c.a(paramString1, paramString2, paramString3), paramd);
  }

  public f a(int paramInt, String paramString)
  {
    f localf;
    if (paramString == null)
      localf = new f(4, -5, null, null);
    while (true)
    {
      return localf;
      b.e("SohuService", paramString);
      localf = new f(4);
      localf.h = paramInt;
      try
      {
        localf.j = new JSONObject(paramString).optString("error");
        localf.i = String.valueOf(paramInt);
      }
      catch (JSONException localJSONException)
      {
        localf.h = -1;
        localf.j = f.a(-1);
        localJSONException.printStackTrace();
      }
    }
  }

  public String a(String paramString)
  {
    return "http://api.t.sohu.com" + paramString;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.b.b.a
 * JD-Core Version:    0.6.0
 */